using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sisocana.Core.Interfaces;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace Sisocana.Core.Models
{
    public class PersonaDesaparecidaModel: PersonaModel, IPersonaDesaparecidaModel
    {
        [DisplayName("Mobile Phone")]
        [RegularExpression("^[0-9-\\s]*$")]
        public string celular { get; set; }

        [DisplayName("Description")]
        public string descripcion { get; set; }

        [DisplayName("Age")]
        [Range(0, 120, ErrorMessage="Age must be between 0 and 120")]
        public int edad { get; set; }

        [DisplayName("Sex")]
        [RegularExpression("^(M|F)$")]
        public string sexo { get; set; }

        public DataImagen foto { get; set; }
        public string imageSrc { get; set; }

        public bool externalEntity { get; set; }
        public int searchWSId { get; set; }

    }
}
